<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>左</title>
<import type='css' file="css.main" />
<load href="__PUBLIC__/js/jquery-1.9.1.min.js" />
<import type='js' file="js.main" />
<style type='text/css'>
div.left{position:absolute; top:0px; width:100%; height:100%; overflow:scroll; overflow-x:hidden;}
span.typetsub{display: none;}
span.typet{display: block; width: 100%; cursor: pointer; margin-bottom: 5px;}
span.typet label{display: block; float:right; margin-right:18px; font-family:initial;}
.left a{margin-left: 20px;}
</style>
<script type="text/javascript">
	$(function(){
		$(".list li:first").css({"background-color":"#3c5167","border-radius":"3px"});
		$(".list li:first").find(".typetsub").show();
		$(".list li:first").find(".typet label").html("-");
		$(".list li").each(function(){
			var t = $(this);
			t.find(".typet").click(function(){
				t.css({"background-color":"#3c5167","border-radius":"3px"});
				t.siblings().removeAttr("style");
				t.find(".typet label").html("-");
				t.siblings().find(".typet label").html("+");
				t.find(".typetsub").show();
				t.siblings().find(".typetsub").hide();
			})
		})
	})
</script>
</head>

<body class="body-bgcolor">
<div class="left">
	<ul class="list">
        <volist name="data" id="v">
			<in name="v['id']" value="$Think.session.userinfo.rbac">
            <li><span class="typet"><img src="/assets/img/icon/华人码.png" style="display:none; height:15px; width:auto; margin-right:5px; margin-top:-2px;">{$v['manage_name']} <label>+</label></span>
			   <span class="typetsub">
               <volist name="v['submenu']" id="v1">
				   <in name="v1['id']" value="$Think.session.userinfo.rbac"><a href="{$v1['murl']}" target="mainFrame">· {$v1['manage_name']}</a></in>
               </volist>
			   </span>
            </li>
			</in>
        </volist>
		<li class="version" style="border-bottom:none;">
			版本号<br />
			{$Think.session.userinfo.epname} / <if condition="$Think.session.userinfo.type eq 1">管理员<else/>普通用户</if><br />
			<a onclick="javascript:window.top.location='{:U('Login/logout')}'" target="mainFrame" style="margin-left:0px; cursor:pointer; color:#ff5454; font-size:15px; line-height:30px;">注销</a>
		</li>
	</ul>
</div>
</body>
</html>
